package com.scpcfe.www.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController   //告诉spring boot框架，表示下面的类里面有接口
public class Enter {
    @GetMapping("/")    //告诉spring boot框架下面这个接口是get方法
    public String world() {
        return "hello , springboot";
    }
}
